<ol>
    <?php for( $i=0; $i<count( $test['questions'] ); $i++ ): ?>
        <li>
            <strong><?php echo trim( $test['questions'][$i]['question'] ); ?></strong>
            <?php echo implode( $answers_given[$i], ', ' ); ?>
            <br />
            <?php if( $points[$i] == -1 ): ?>
                <a href="javascript:void(0)">Corect</a> / 
                <a href="javascript:void(0)">Greșit</a>
                <strong>
                    ( întrebare valorează
                    <?php echo $test['questions'][$i]['modifiers']['punctaj']; ?> puncte)
                </strong>
            <?php else: ?>
                <strong><?php echo $points[$i]; ?> puncte</strong>
            <?php endif; ?>
       </li>
    <?php endfor; ?>
</ol>

<?php if( $test_verified ): ?>
    <strong><?php echo array_sum( $points ); ?> puncte</strong> in total.
<?php endif; ?>
